package hy;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

public class TestPool {
    public static void main(String[] args) {
        JedisPool pool=Util.getInstance();
        try(Jedis j=pool.getResource()){
            j.set("a1","one");
        }
    }
}
